#!/bin/bash

pushd `dirname $0` &>/dev/null

kubectl create configmap sim-gateway-configmap --from-file=../config/ --dry-run=client -o yaml > sim-gateway-configmap.yaml

kubectl apply -f sim-gateway-configmap.yaml

kubectl apply -f deployment.yaml

popd &>/dev/null